<?php
namespace app\admin\controller;
use think\Controller;
use app\admin\model\Admin as AdminModel;
use think\facade\Session;
class Admin extends Base       //继承基类Base 进行Session判断
{
    public function test(){        //登录后的测试界面
       return $this->fetch();
    }
}